import axios from 'axios'
import request from '@/config/request'

// 语文作文批改
export const correctChineseApi = (data) => {
  return request.post('/app-api/exam/app/tal-ai/text-correction', data)
}

// 获得作文练习分页
export const getEssayTrainPageApi = (data) => {
  return request.get('/app-api/exam/essay-train/page', data)
}

// 获得作文练习详情
export const getEssayTrainDetailApi = (data) => {
  return request.get('/app-api/exam/essay-train/get', data)
}

// 获取语文作文批改结果Json
export const getCorrectChineseJsonApi = (data) => {
  return axios.get(data)
}
